'use strict';
var http = require("http");
var key = '8292b4d51f3900b8f44d8810c7231c3c';
var place = 'Beijing';
var urllocal = 'http://api.openweathermap.org/data/2.5/weather';

//暴漏定义的模块方法
exports.getUrl = getUrl;


function getUrl() {
    var urlw = urllocal + '?q=' + place + '&appid=' + key;
    return urlw;}